cmake_minimum_required(VERSION 3.10)

PROJECT(shared_object_test2)
SET(LIBRARY_PATH /home/jerry/tests/src/cpp/shared_object_test2/build)

ADD_LIBRARY(MyLib1 SHARED MyLib1_.cpp MyLib1.cpp MyLib1.h Common.h)
#ADD_LIBRARY(MyLib2 SHARED MyLib2.cpp MyLib2.h Common.h)
ADD_EXECUTABLE(main main.cpp)
TARGET_LINK_LIBRARIES(main MyLib1 ${LIBRARY_PATH}/libMyLib2.so)
